<#import "../tpl/htmlTep.ftl" as html>

<@html.htmlBase checkLogin=false >
<link rel="stylesheet" href="${staticpath}/after/css/index.css">
<body>
<div class="head">
    <div class="title">袋泡茶后台管理系统</div><span class="text">登录</span>
</div>
<div class="middle">
    <form class="form-horizontal " action="${basepath}/rest/manage/user/login" method="post">
    <div class="login">
        <div class="in">登录</div>
        <div class="input-box mb">
            <input type="text" class="box-inp"  value="${e.username!""}" name="username" placeholder="用户名"  id="username" autofocus>
            <img src="${staticpath}/after/images/use.png  "  class="ico">
        </div>
        <div class="input-box">
            <input type="password" class="box-inp" onfocus="this.type='password'" name="password" placeholder="密码" label="密码">
            <img src="${staticpath}/after/images/password.png " alt="" class="ico">
        </div>
        <div class="item-box">
            <label for="">
                <input type="checkbox" class="check">记住密码</label>
        </div>
    <#if errorMsg??>
        <div class="row">
            <div class="error-tips">*${errorMsg}</div>
        </div>
    </#if>
        <button type="submit" class="btn">登录</button></div>
</form>
</div>
</body>
</@html.htmlBase>